<?php
    if(!empty($thongbao)){
        echo $thongbao;
    }
?>
<?php
    if(!empty($history)){
        $a=']===[';
        $i=1;
        foreach($history as $hist){
            echo $i.$a;
            echo $hist->type==1?"Nạp tiền":"Mua gói học".$a;
            echo $hist->date.$a;
            echo $hist->money.$a;
            echo $hist->money_end.$a;
            $i++;
        }
    }
?>